import http from "@/api";

export const getNavbarListApi = async (data) =>
  await http.post("navbar/page/list", data);

export const insertNavbarApi = async (data) =>
  await http.post("navbar/insert", data);

export const deleteNavbarApi = async (data) =>
  await http.post("navbar/delete", data);

export const getNavbarDetailApi = async (id) =>
  await http.get(`navbar/get/${id}`);

export const updateNavbarApi = async (data) =>
  await http.post("navbar/update", data);
